home *** CD-ROM | disk | FTP | other *** search
Text File | 1996-04-21 | 3.9 KB | 94 lines | [TEXT/R*ch] |
- How to Edit Your Installer's Resources
- © Copyright 1995 Aladdin Systems, Inc.
- -------------------------------------
-
- All of the user interface elements your users see when they run an
- InstallerMaker product installer can be changed if you need to do
- so. Many of these items can be changed directly from within the
- InstallerMaker application you use to configure your product
- installers.
-
- Occasionally, you will not see the string you want to change, or
- you will need to change the size of a dialog, or the location of
- items within a dialog. These can also be changed, through the
- use of a resource editing application like ResEdit (available
- from Apple) or Resorcerer (from Mathemaesthetics, Inc.). This document
- describes how to use a resource editor to change the user
- interface elements you want to change.
-
- For the rest of this document, we assume that you own a resource
- editor, and that you know how to use it. If the topic of
- resource editing on a Macintosh is new to you, we recommend
- "Zen and The Art of Resource Editing", a book available from the
- Berkeley Macintosh Users Group (BMUG). You can reach BMUG by
- telephone at 510-549-2684, or via the Web at www.bmug.org. The
- old style address is:
-
- BMUG Inc.
- 1442A Walnut Street, #62
- Berkeley, CA 94709-1496
-
-
- How To Edit a Resource In Your Installer
- ----------------------------------------
-
- Since our installers use resource compression, most resources in
- your product installer are compressed, and can not be edited
- directly. To find an uncompressed copy of an installer's resources,
- you should locate the file "Installer Resources" located in the
- "Editing Resources" folder in the "Customizing InstallerMaker"
- folder found in the same folder as the InstallerMaker 3.0
- application. The steps to change a resource are:
-
- 1) Open the "Installer Resources" file in your resource editor
- and locate the resources that you want to change.
-
- 2) Create a new resource file in your resource editor, and copy
- _only_ the resources you want to change into the new resource
- file.
-
- 3) Use your resource editor to modify your resources, and save the
- changes.
-
- 4) Open your installer archive up in InstallerMaker 3.0, and note the
- icon on the lower left of the window. This is a button used to link
- an "included resources" file to your archive. If it says "No resource
- file included", then you are not currently including a resource file.
- If this is the case, click on the icon, and select your resource file
- you created in step (2) in the file selection dialog that comes up.
-
- If you've already selected some other file, perhaps because you've
- included InstallerMaker extensions into your installer, you'll need
- to copy the resources in your new file into the file that contains your
- custom resources. The procedure is the same as the one you used in
- step (2).
-
- 5) Build your installer as usual. InstallerMaker will build your
- modified resources into your product installer, giving you the affect
- you wanted.
-
-
- Warnings About Changing Resources
- ---------------------------------
-
- Remember that when you change a resource your product installer uses,
- you are changing the data the product installer uses to display information
- to your users. As a rule of thumb, changing the wording of any item is
- perfectly safe, and changing one picture with a different picture will
- also be safe. In addition, changing the size of a DLOG or ALRT resource
- is OK, as is changing the position of an item in a dialog list resource
- (DITL).
-
- Two things, however, are not safe. You should never delete an item
- in a DITL, nor should you insert new items into a DITL in such a way that
- the item numbers of standard items change. Doing this will cause your
- installers to behave strangely, or even crash.
-
-
- Changing the Progress Dialog
- -----------------------------
-
- You can also modify the progress dialog that comes up during the unstuffing
- process. If you need to do this, read the document "Customizing Progress Bars"
- in the same folder as this document.
-